from pywinauto.application import Application


app = Application()

try:
  dlg_spec = app.connect(title_re='Gihosoft TubeGet', timeout=10)['Gihosoft TubeGet']
except:
  print('打开 Gihosoft TubeGet')
  dlg_spec = app.start(r'D:\Gihosoft TubeGet\GTubeGet.exe')['Gihosoft TubeGet']

dlg_spec.dump_tree()

dlg_spec['Custom3'].click()